class Bug implements Attributable {

    String bugNumber
    String title
    String description
    String type
    String category
    String priority
    String affectedVersion
    Date dateCreated
    Date lastUpdated

    static {
       // Bug.metaClass.mixin AttributeMixin
       AttributeMixin.mixin()
    }

    public String toString() {
        return ( title ? "${title}" : "Bug: ${id}" )
    }

}
